<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<meta name="mobile-web-app-capable" content="yes">
<title>玩转活动周</title>
<link rel="stylesheet" href="css/amazeui.css">
<link rel="stylesheet" href="css/swiper.css">
<link rel="stylesheet" href="css/list.css">

</head>

<body>
<div class="top">
  <div class="topbox">
    <div class="logo"><a href="index.html"><img src="images/logo.png" alt=""/></a></div>
    <div class="nav"><a href="wzhdz.html" class="on"><span>玩转活动周</span></a> <a href="hdgl.html"><span>活动攻略</span></a> <a href="zrzx.html"><span>最热资讯</span></a> <a href="tmsys.html"><span>探秘实验室</span></a> <a href="ltkj.html"><!--span>聆听科技</span></a> <a href="jcsj.html"><span>竞猜实践</span--></a></div>
  </div>
</div>
<div class="topmar"></div>
<div class="warp">
  <div class="l850">
    <div class="swiper-container swiper3">
      <div class="swiper-wrapper">
        <div class="swiper-slide"><a href="#"><img src="upfiles/listbanner.jpg" alt=""/></a></div>
        <div class="swiper-slide"> 2</div>
        <div class="swiper-slide"> 3</div>
      </div>
      <!-- Add Pagination -->
      <div class="swiper-pagination swiper-pagination3"></div>
    </div>
  </div>
  <div class="r350 pos_r">
    <div class="swiper-container swiper-container1">
      <div class="swiper-wrapper">
        <div class="swiper-slide">
          <div class="slidebox"><a href="#" class="slideboximg"><img src="upfiles/wz1.png" alt=""/></a>开始时间：2015-04-12<br>
            地点：浦东新区航头镇沈庄村村委会<br>
            主办单位：上海三农服务热线管理中心<br>
            承办单位：热线浦东分中心<br>
            联系人：丁景春<br>
            联系电话:021-521663616</div>
        </div>
        <div class="swiper-slide"> 2</div>
        <div class="swiper-slide"> 3</div>
        <div class="swiper-slide"> 4</div>
      </div>
      <!-- Add Pagination -->
      <div class="swiper-Paginationlan">推荐</div>
      <!-- Add Arrows -->
      <div class="swiper-button-next1"></div>
      <div class="swiper-button-prev1"></div>
    </div>
  </div>
</div>
<div class="topmar1"></div>
<div class="warp1">

  <div class="list_1"><i>类型:</i>
    <p><a class="list_1a on" data-type="0" href="javascript:;">全部</a><a class="list_1a" href="javascript:;"  data-type="1">亲子</a><a class="list_1a" data-type="2" href="javascript:;">实践/动手</a><a class="list_1a" data-type="3" href="javascript:;">讲座</a><a class="list_1a" data-type="4" href="javascript:;">科技</a><a class="list_1a" data-type="5" href="javascript:;">自然</a><a class="list_1a" data-type="6" href="javascript:;">动物</a><a class="list_1a" data-type="7" href="javascript:;">生活</a><a class="list_1a" data-type="8" href="javascript:;">健康</a><a class="list_1a" data-type="9" href="javascript:;">其它</a></p>
  </div>
  <div class="list_cle"></div>
  <div class="list_2"><i>区域:</i>
    <p><a class="list_2a on" data-type="0" href="javascript:;">全部</a><a class="list_2a" href="javascript:;"  data-area="1">卢湾区</a><a class="list_2a" data-area="2" href="javascript:;">黄浦区</a><a class="list_2a" data-area="3" href="javascript:;">静安区</a><a class="list_2a" data-area="4" href="javascript:;">徐汇区</a><a class="list_2a" data-area="5" href="javascript:;">虹口区</a><a class="list_2a" data-area="6" href="javascript:;">长宁区</a><a class="list_2a" data-area="7" href="javascript:;">闸北区</a><a class="list_2a" data-area="8" href="javascript:;">杨浦区</a><a class="list_2a" data-area="9" href="javascript:;">浦东新区</a><a class="list_2a" data-area="10" href="javascript:;">宝山区</a><a class="list_2a" data-area="11" href="javascript:;">嘉定区</a><a class="list_2a" data-area="12" href="javascript:;">松江区</a><a class="list_2a" data-area="13" href="javascript:;">青浦区</a><a class="list_2a" data-area="14" href="javascript:;">南汇区</a><a class="list_2a" data-area="15" href="javascript:;">奉贤区</a><a class="list_2a" data-area="16" href="javascript:;">金山区</a><a class="list_2a" data-area="17" href="javascript:;">崇明县</a></p>
  </div>
  <div class="list_cle"></div>
  <div class="list_3"><i>状态:</i>
    <p><a class="list_3a on" data-state="0" href="javascript:;">不限</a><a class="list_3a" href="javascript:;"  data-state="1">已结束</a><a class="list_3a" data-state="2" href="javascript:;" id="defaultItem">未结束</a> <br class="cle"/>
      <!--<a class="list_3a_data sel" data-data="0" href="javascript:;">全部</a>-->
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-14 00:00:00">5月14日</a>
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-15 00:00:00">5月15日</a>
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-16 00:00:00">5月16日</a>
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-17 00:00:00">5月17日</a>
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-18 00:00:00">5月18日</a>
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-19 00:00:00">5月19日</a>
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-20 00:00:00">5月20日</a>
	  <a class="list_3a_data sel" href="javascript:;"  data-data="2016-5-21 00:00:00">5月21日</a> 
	  </p>
  </div>
  
  <div class="list_cle"></div>
  <div class="list_4"><i>门票:</i>
    <p><a class="list_4a on" data-ticket="0" href="javascript:;">全部</a><a class="list_4a" href="javascript:;"  data-ticket="1">免费</a><a class="list_4a" data-ticket="2" href="javascript:;">优惠</a><a class="list_4a" data-ticket="3" href="javascript:;">全价</a></p>
  </div>
  
  <div class="cle"></div>
</div>
 <div class="topmar1"></div>
<div class="warp2">
   <div class="list_5">
      <a class="list_5a" data-val="0" href="javascript:refreshListByStartTime();">即将开始</a> <a class="list_5a" data-val="0" href="javascript:refreshListByEndTime();">即将结束</a> <a class="list_5a" data-val="0" href="javascript:refreshListByClick();">人气最高</a>
   </div>
 <div class="cle"></div>
</div>
<div class="topmar2"></div>
<div class="warp">
   <div class="list_box">
     <ul id="listRoot"></ul>
	 
    </div>
	<div class="pageLine" id="pageLine"><a href="javascript:prePage();"><img src="images/pre.png"></a>
	<div id="pageButtons">
	</div>
	
	<a href="javascript:nextPage();"><img src="images/next.png"></a> <span>共</span><span id="totalPage"></span><span>页</span> <input id="currentPage" type="number" onChange="changePage();"></input></div> 
 <div class="cle"></div>
</div>

<div class="foot">
  <div class="swap">
    <div class="wrap">
      <div class="tabs"> <a href="#" hidefocus="true" class="active">联席会议成员单位</a> <a href="#" hidefocus="true">区县科委<i></i></a> <a href="#" hidefocus="true">区县科普网站<i></i></a> <a href="#" hidefocus="true">其他科技网站<i></i></a> </div>
      <div class="swiper-container2">
        <div class="swiper-wrapper">
          <div class="swiper-slide2 ">
            <div class="content-slide"> <a href="http://www.shjcdj.cn/djw/" target="_blank">中共上海市委组织部</a><a href="http://xcb.sh.gov.cn/" target="_blank">中共上海市委宣传部</a><a href="http://www.wmsh.gov.cn/" target="_blank">上海市精神文明建设委员会办公室</a><a href="http://www.shdrc.gov.cn/" target="_blank">上海市发展和改革委员会</a><a href="http://www.sheitc.gov.cn/" target="_blank">上海市经济和信息化委员会</a><a href="http://www.shmec.gov.cn/" target="_blank">上海市教育委员会</a><a href="http://www.stcsm.gov.cn/" target="_blank">上海市科学技术委员会</a><a href="http://www.sast.gov.cn/" target="_blank">上海市科学技术协会</a><a href="http://www.shucm.sh.cn/gb/jsjt2009/index.html" target="_blank">上海市城乡建设和管理委员会</a><a href="http://www.shgzw.gov.cn/" target="_blank">上海市国有资产监督管理委员会</a><a href="http://www.wsjsw.gov.cn/wsj/" target="_blank">上海市卫生和计划生育委员会</a><a href="http://e-nw.shac.gov.cn/" target="_blank">上海市农业委员会</a><a href="http://www.czj.sh.gov.cn/" target="_blank">上海市财政局</a><a href="http://www.12333sh.gov.cn/" target="_blank">上海市人力资源和社会保障局</a><a href="http://lyw.sh.gov.cn/" target="_blank">上海市旅游局</a><a href="http://www.sepb.gov.cn/fa/cms/shhj/index.htm" target="_blank">上海市环境保护局</a><a href="http://cbj.sh.gov.cn/index.jsp" target="_blank">上海市新闻出版局</a><a href="http://wgj.sh.gov.cn/" target="_blank">上海市文化广播影视管理局</a><a href="http://www.shzgh.org/" target="_blank">上海市总工会</a><a href="http://www.shyouth.net/html/defaultsite/portal/index/index.htm" target="_blank">共青团上海市委</a><a href="http://www.shwomen.org/" target="_blank">上海市妇女联合会</a><a href="http://www.sssa.org.cn/" target="_blank">上海市社会科学界联合会</a><a href="http://www.cst.sh.cn/" target="_blank">中国科学院上海分院</a><a href="http://www.sast.org.cn/" target="_blank">上海科学院</a><a href="http://www.shwenyi.com.cn/" target="_blank">上海市文联</a><a href="http://www.sstm.org.cn/kjg_Web/" target="_blank">上海科技馆</a><a href="http://www.shfda.gov.cn/gb/node2/node3/index.html" target="_blank">上海市食品药品监督管理局</a><a href="http://www.csj.sh.gov.cn/pub/" target="_blank">上海市税务局</a><a href="http://www.sstm.org.cn/kjg_Web/html/kpfundsite/portal/index/index.htm" target="_blank">上海科普教育发展基金会</a> </div>
          </div>
          <div class="swiper-slide2 hide">
            <div class="content-slide"> <a href="http://kw.huangpuqu.sh.cn/hpkw/" target="_blank">黄浦区科委</a><a href="http://www.jingan.gov.cn/" target="_blank">静安区科委</a><a href="http://kw.changning.sh.cn/" target="_blank">长宁区科委</a><a href="http://kj.xh.sh.cn/xhkw/" target="_blank">徐汇区科委</a><a href="http://ptkj.shpt.gov.cn/" target="_blank">普陀区科委</a><a href="http://www.shk.gov.cn/" target="_blank">虹口区科委</a><a href="http://kw.shzb.gov.cn/zbkw/" target="_blank">闸北区科委</a><a href="http://ypkw.shyp.gov.cn/" target="_blank">杨浦区科委</a><a href="http://www.techpudong.gov.cn/" target="_blank">浦东新区科委</a><a href="http://www.shmh.gov.cn" target="_blank">闵行区科委</a><a href="http://bskw.baoshan.sh.cn/bskw/" target="_blank">宝山区科委</a><a href="http://sjkw.songjiang.gov.cn/" target="_blank">松江区科委</a><a href="http://scien.shqp.gov.cn/gb/special/node_4788.htm" target="_blank">青浦区科委</a><a href="http://www.keji.jiading.gov.cn/index.aspx" target="_blank">嘉定区科委</a><a href="http://www.jskw.gov.cn/html/" target="_blank">金山区科委</a><a href="http://www.fxkj.gov.cn/main/index.asp" target="_blank">奉贤区科委</a><a href="http://cmkj.shcm.gov.cn/portal/index/index.htm" target="_blank">崇明县科委</a> </div>
          </div>
          <div class="swiper-slide2 hide">
            <div class="content-slide"> <a href="http://scien.shqp.gov.cn/gb/special/node_19926.htm" target="_blank">青浦科普</a><a href="http://www.pdkp.org/" target="_blank">浦东科普网 </a><a href="http://ceshi5.71tong.net/html/" target="_blank">金山科普 </a><a href="http://jdkp.chinese-jn.com/" target="_blank">嘉定科普服务平台</a><a href="http://mhkp.123js.cn/" target="_blank">闵行科普网</a><a href="http://kj.xh.sh.cn/xhkw/xhkp2/index.aspx" target="_blank">徐汇科普</a><a href="http://bkfj.net/" target="_blank">宝科普风景线</a> </div>
          </div>
          <div class="swiper-slide2 hide">
            <div class="content-slide"> <a href="http://www.kepu.gov.cn/" target="_blank">中国科普网</a><a href="http://www.asseb.cn/" target="_blank">上海市科普教育基地联合会 </a><a href="http://www.xinmin.cn/kepu/" target="_blank">上海科普大讲坛 </a><a href="http://www.cae-shc.gov.cn/" target="_blank">上海院士中心 </a><a href="http://www.hxlib.sh.cn/" target="_blank">沪杏科技图书馆</a><a href="http://www.kpjy.org.cn/" target="_blank">上海科普教育促进中心</a><a href="http://www.kepu001.com/" target="_blank">上海科普事业中心</a><a href="http://www.stcec.com/index.asp" target="_blank">上海科技会展有限公司</a><a href="http://www.sgst.cn/" target="_blank">上海市研发公共服务平台管理中心</a> </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<script src="js/jquery.min.js"></script> 
<script src="js/swiper.js"></script> 
<script src="js/config.js"></script> 
<script src="js/data.js"></script> 
<script src="js/functions.js"> </script>
<script src="js/util.js"> </script>
<script src="js/pageControl.js"> </script>
<script type="text/javascript">
	
	
	$(document).ready(function(e) {
		 var swiper = new Swiper('.swiper3', {pagination: '.swiper-pagination3',paginationClickable: true});
		
	var swiper1= new Swiper('.swiper-container1', {
        pagination: '.swiper-pagination1',
        //paginationClickable: true,
        nextButton: '.swiper-button-next1',
        prevButton: '.swiper-button-prev1',
        spaceBetween: 0
    });	
	
	//类型
	$(".list_1 p a").on('touchstart mousedown',function(e){
		e.preventDefault()
		$(".list_1a").removeClass('on');
		$(this).addClass('on');
		console.log("类型"+$(this).attr("data-type"));
		type=$(this).attr("data-type");
		
		
		result = filter(type,area,days,ticketType);
		refreshList();
	//var myindex=$(this).index();
	});	 

//区域
   $(".list_2 p a").on('touchstart mousedown',function(e){
		e.preventDefault()
		$(".list_2a").removeClass('on');
		$(this).addClass('on');
		console.log("区域"+$(this).attr("data-area"));
		area = $(this).attr("data-area");
		result = filter(type,area,days,ticketType);
		refreshList();
	});	 

//状态
  $(".list_3a").on('touchstart mousedown',function(e){
	e.preventDefault()
	$(".list_3a").removeClass('on');
	$(this).addClass('on');
	
	$(".list_3a_data").show(0);
   
    buildDays($(this));
	 
	 
	 result = filter(type,area,days,ticketType);
	 refreshList();
	});	
//日期
   $(".list_3a_data").on('touchstart mousedown',function(e){
		e.preventDefault()
	  changeDays($(this));
	  
	  	result = filter(type,area,days,ticketType);
	  	refreshList();
	  
	  
	
});	 
//票价
   $(".list_4 p a").on('touchstart mousedown',function(e){
	e.preventDefault()
	$(".list_4a").removeClass('on');
	$(this).addClass('on');
	console.log("票价"+$(this).attr("data-ticket"));
	ticketType=$(this).attr("data-ticket");
	result = filter(type,area,days,ticketType);
	refreshList();
});	

	$("#defaultItem").trigger("mousedown");
	
	console.log(" 111days:"+days.length);
	  
	  var url = window.location.href;
	  
	  var day = GetArgsFromHref(url,"day");
	  
	  if(day!=null&&day!=""){
	  	day += " 00:00:00";
		
		$(".list_3a_data").each(function(){
			console.log(day+"=="+$(this).attr("data-data"));
			if(day !=$(this).attr("data-data")){
				console.log("trigger:"+$(this).attr("data-data"));
				$(this).trigger("mousedown");
			}
		});
	  }
	  
		refreshListByClick();
    });
	
	
	function showPage(){
		refreshList();
	}
    </script>
</body>
</html>
